#!/bin/sh

Xephyr -screen 500x500 :7 > /dev/null 2>&1 &
pid=${!}

sleep 2

DISPLAY=:7 prove -j1 test/feh-scr-i.t test/feh-i.t
ret=${?}

kill ${pid}

sleep 2

exit ${ret}
